/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.aaron.platform.service;

import com.aaron.platform.entity.ItscDomainInfo;
import com.aaron.platform.exceptions.DomainNotExistException;
import java.util.List;

/**
 * 组织业务接口
 * @author chenzhuohua
 */
public interface IDomainService {

    public ItscDomainInfo findById(Integer orgId) throws DomainNotExistException;

    public ItscDomainInfo findByName(String orgName) throws DomainNotExistException;

    public ItscDomainInfo findTopDomain();
    
    public List<ItscDomainInfo> findSubDomains(Integer orgId);

    public List<ItscDomainInfo> findAllDomains();
}
